package com.shiguo365.market.model;

import java.lang.ref.SoftReference;

/**
 * 商品模型
 * Created by caomenglong on 16/7/5.
 */
public class Product {

    private int id;
    private String name; //商品名称
    private String imgurl;//商品图片的 URL
    private String specname; //商品规格名称
    private String context;//商品描述
    private double price;//商品价格

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public String getSpecname() {
        return specname;
    }

    public void setSpecname(String specname) {
        this.specname = specname;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
